package com.itheima.servicer;

import com.itheima.dao.GoodMapper;
import com.itheima.domain.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsService {
    @Autowired
    private GoodMapper goodMapper;
    public Goods findOne(String id){
        return goodMapper.findOne(id);
    }
}
